!function($){$(document).ready(function(){$(".dropdown-menu a.dropdown-toggle").on("click",function(){var $subMenu=$(this).next(".dropdown-menu");if($subMenu.hasClass("show"))$subMenu.removeClass("show").parent().removeClass("show"),$(this).attr("aria-expanded","false");else{var parentDropDown=$(this).parent();parentDropDown.siblings().removeClass("show").find(">a").attr("aria-expanded","false"),parentDropDown.siblings().find(">.show").removeClass("show"),$subMenu.addClass("show").parent().addClass("show"),$(this).attr("aria-expanded","true")}return!1}),$("#main-menu > li > a.dropdown-toggle").on("click",function(){$("#main-menu > li").each(function(){!function($elem){if($elem.hasClass("show")){var $subMenuAnchor=$elem.children().find(">a"),$subMenu=$subMenuAnchor.next(".dropdown-menu");$subMenu.hasClass("show")&&($subMenu.removeClass("show").parent().removeClass("show"),$subMenuAnchor.attr("aria-expanded","false"))}}($(this).find("> ul.dropdown-menu"))})}),$("#h-menu-icon").on("click",function(){$(this).toggleClass("change"),$(".mobile-menu").toggleClass("show")})})}(jQuery),function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],factory):factory((global=global||self).bootstrap={},global.jQuery)}(this,function(exports,$){"use strict";function _defineProperties(target,props){for(var i=0;ithis._items.length-1||index<0))if(this._isSliding)$(this._element).one(Event$2.SLID,function(){return _this.to(index)});else{if(activeIndex===index)return this.pause(),void this.cycle();var direction=activeIndex=popper.clientWidth&&height>=popper.clientHeight}),computedPlacement=0boundaries[placement]&&!options.escapeWithReference&&(value=Math.min(popper[mainSide],boundaries[placement]-("right"===placement?popper.width:popper.height))),defineProperty({},mainSide,value)}};return order.forEach(function(placement){var side=-1!==["left","top"].indexOf(placement)?"primary":"secondary";popper=_extends({},popper,check[side](placement))}),data.offsets.popper=popper,data},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(data){var _data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,placement=data.placement.split("-")[0],floor=Math.floor,isVertical=-1!==["top","bottom"].indexOf(placement),side=isVertical?"right":"bottom",opSide=isVertical?"left":"top",measurement=isVertical?"width":"height";return popper[side]floor(reference[side])&&(data.offsets.popper[opSide]=floor(reference[side])),data}},arrow:{order:500,enabled:!0,fn:function(data,options){var _data$offsets$arrow;if(!isModifierRequired(data.instance.modifiers,"arrow","keepTogether"))return data;var arrowElement=options.element;if("string"==typeof arrowElement){if(!(arrowElement=data.instance.popper.querySelector(arrowElement)))return data}else if(!data.instance.popper.contains(arrowElement))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),data;var placement=data.placement.split("-")[0],_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,isVertical=-1!==["left","right"].indexOf(placement),len=isVertical?"height":"width",sideCapitalized=isVertical?"Top":"Left",side=sideCapitalized.toLowerCase(),altSide=isVertical?"left":"top",opSide=isVertical?"bottom":"right",arrowElementSize=getOuterSizes(arrowElement)[len];reference[opSide]-arrowElementSizepopper[opSide]&&(data.offsets.popper[side]+=reference[side]+arrowElementSize-popper[opSide]),data.offsets.popper=getClientRect(data.offsets.popper);var center=reference[side]+reference[len]/2-arrowElementSize/2,css=getStyleComputedProperty(data.instance.popper),popperMarginSide=parseFloat(css["margin"+sideCapitalized],10),popperBorderSide=parseFloat(css["border"+sideCapitalized+"Width"],10),sideValue=center-data.offsets.popper[side]-popperMarginSide-popperBorderSide;return sideValue=Math.max(Math.min(popper[len]-arrowElementSize,sideValue),0),data.arrowElement=arrowElement,data.offsets.arrow=(defineProperty(_data$offsets$arrow={},side,Math.round(sideValue)),defineProperty(_data$offsets$arrow,altSide,""),_data$offsets$arrow),data},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(data,options){if(isModifierEnabled(data.instance.modifiers,"inner"))return data;if(data.flipped&&data.placement===data.originalPlacement)return data;var boundaries=getBoundaries(data.instance.popper,data.instance.reference,options.padding,options.boundariesElement,data.positionFixed),placement=data.placement.split("-")[0],placementOpposite=getOppositePlacement(placement),variation=data.placement.split("-")[1]||"",flipOrder=[];switch(options.behavior){case BEHAVIORS_FLIP:flipOrder=[placement,placementOpposite];break;case BEHAVIORS_CLOCKWISE:flipOrder=clockwise(placement);break;case BEHAVIORS_COUNTERCLOCKWISE:flipOrder=clockwise(placement,!0);break;default:flipOrder=options.behavior}return flipOrder.forEach(function(step,index){if(placement!==step||flipOrder.length===index+1)return data;placement=data.placement.split("-")[0],placementOpposite=getOppositePlacement(placement);var popperOffsets=data.offsets.popper,refOffsets=data.offsets.reference,floor=Math.floor,overlapsRef="left"===placement&&floor(popperOffsets.right)>floor(refOffsets.left)||"right"===placement&&floor(popperOffsets.left)floor(refOffsets.top)||"bottom"===placement&&floor(popperOffsets.top)floor(boundaries.right),overflowsTop=floor(popperOffsets.top)floor(boundaries.bottom),overflowsBoundaries="left"===placement&&overflowsLeft||"right"===placement&&overflowsRight||"top"===placement&&overflowsTop||"bottom"===placement&&overflowsBottom,isVertical=-1!==["top","bottom"].indexOf(placement),flippedVariation=!!options.flipVariations&&(isVertical&&"start"===variation&&overflowsLeft||isVertical&&"end"===variation&&overflowsRight||!isVertical&&"start"===variation&&overflowsTop||!isVertical&&"end"===variation&&overflowsBottom);(overlapsRef||overflowsBoundaries||flippedVariation)&&(data.flipped=!0,(overlapsRef||overflowsBoundaries)&&(placement=flipOrder[index+1]),flippedVariation&&(variation=function(variation){return"end"===variation?"start":"start"===variation?"end":variation}(variation)),data.placement=placement+(variation?"-"+variation:""),data.offsets.popper=_extends({},data.offsets.popper,getPopperOffsets(data.instance.popper,data.offsets.reference,data.placement)),data=runModifiers(data.instance.modifiers,data,"flip"))}),data},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(data){var placement=data.placement,basePlacement=placement.split("-")[0],_data$offsets=data.offsets,popper=_data$offsets.popper,reference=_data$offsets.reference,isHoriz=-1!==["left","right"].indexOf(basePlacement),subtractLength=-1===["top","left"].indexOf(basePlacement);return popper[isHoriz?"left":"top"]=reference[basePlacement]-(subtractLength?popper[isHoriz?"width":"height"]:0),data.placement=getOppositePlacement(placement),data.offsets.popper=getClientRect(popper),data}},hide:{order:800,enabled:!0,fn:function(data){if(!isModifierRequired(data.instance.modifiers,"hide","preventOverflow"))return data;var refRect=data.offsets.reference,bound=find(data.instance.modifiers,function(modifier){return"preventOverflow"===modifier.name}).boundaries;if(refRect.bottombound.right||refRect.top>bound.bottom||refRect.rightdocument.documentElement.clientHeight;!this._isBodyOverflowing&&isModalOverflowing&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!isModalOverflowing&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},_proto._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},_proto._checkScrollbar=function(){var rect=document.body.getBoundingClientRect();this._isBodyOverflowing=rect.left+rect.right
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:DefaultWhitelist},HoverState_SHOW="show",HoverState_OUT="out",Event$6={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ClassName$6_FADE="fade",ClassName$6_SHOW="show",Selector$6_TOOLTIP_INNER=".tooltip-inner",Selector$6_ARROW=".arrow",Trigger_HOVER="hover",Trigger_FOCUS="focus",Trigger_CLICK="click",Trigger_MANUAL="manual",Tooltip=function(){function Tooltip(element,config){if(void 0===Popper)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=element,this.config=this._getConfig(config),this.tip=null,this._setListeners()}var _proto=Tooltip.prototype;return _proto.enable=function(){this._isEnabled=!0},_proto.disable=function(){this._isEnabled=!1},_proto.toggleEnabled=function(){this._isEnabled=!this._isEnabled},_proto.toggle=function(event){if(this._isEnabled)if(event){var dataKey=this.constructor.DATA_KEY,context=$(event.currentTarget).data(dataKey);context||(context=new this.constructor(event.currentTarget,this._getDelegateConfig()),$(event.currentTarget).data(dataKey,context)),context._activeTrigger.click=!context._activeTrigger.click,context._isWithActiveTrigger()?context._enter(null,context):context._leave(null,context)}else{if($(this.getTipElement()).hasClass(ClassName$6_SHOW))return void this._leave(null,this);this._enter(null,this)}},_proto.dispose=function(){clearTimeout(this._timeout),$.removeData(this.element,this.constructor.DATA_KEY),$(this.element).off(this.constructor.EVENT_KEY),$(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&$(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},_proto.show=function(){var _this=this;if("none"===$(this.element).css("display"))throw new Error("Please use show on visible elements");var showEvent=$.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){$(this.element).trigger(showEvent);var shadowRoot=Util.findShadowRoot(this.element),isInTheDom=$.contains(null!==shadowRoot?shadowRoot:this.element.ownerDocument.documentElement,this.element);if(showEvent.isDefaultPrevented()||!isInTheDom)return;var tip=this.getTipElement(),tipId=Util.getUID(this.constructor.NAME);tip.setAttribute("id",tipId),this.element.setAttribute("aria-describedby",tipId),this.setContent(),this.config.animation&&$(tip).addClass(ClassName$6_FADE);var placement="function"==typeof this.config.placement?this.config.placement.call(this,tip,this.element):this.config.placement,attachment=this._getAttachment(placement);this.addAttachmentClass(attachment);var container=this._getContainer();$(tip).data(this.constructor.DATA_KEY,this),$.contains(this.element.ownerDocument.documentElement,this.tip)||$(tip).appendTo(container),$(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Popper(this.element,tip,{placement:attachment,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Selector$6_ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(data){data.originalPlacement!==data.placement&&_this._handlePopperPlacementChange(data)},onUpdate:function(data){return _this._handlePopperPlacementChange(data)}}),$(tip).addClass(ClassName$6_SHOW),"ontouchstart"in document.documentElement&&$(document.body).children().on("mouseover",null,$.noop);var complete=function(){_this.config.animation&&_this._fixTransition();var prevHoverState=_this._hoverState;_this._hoverState=null,$(_this.element).trigger(_this.constructor.Event.SHOWN),prevHoverState===HoverState_OUT&&_this._leave(null,_this)};if($(this.tip).hasClass(ClassName$6_FADE)){var transitionDuration=Util.getTransitionDurationFromElement(this.tip);$(this.tip).one(Util.TRANSITION_END,complete).emulateTransitionEnd(transitionDuration)}else complete()}},_proto.hide=function(callback){var _this2=this,tip=this.getTipElement(),hideEvent=$.Event(this.constructor.Event.HIDE),complete=function(){_this2._hoverState!==HoverState_SHOW&&tip.parentNode&&tip.parentNode.removeChild(tip),_this2._cleanTipClass(),_this2.element.removeAttribute("aria-describedby"),$(_this2.element).trigger(_this2.constructor.Event.HIDDEN),null!==_this2._popper&&_this2._popper.destroy(),callback&&callback()};if($(this.element).trigger(hideEvent),!hideEvent.isDefaultPrevented()){if($(tip).removeClass(ClassName$6_SHOW),"ontouchstart"in document.documentElement&&$(document.body).children().off("mouseover",null,$.noop),this._activeTrigger[Trigger_CLICK]=!1,this._activeTrigger[Trigger_FOCUS]=!1,this._activeTrigger[Trigger_HOVER]=!1,$(this.tip).hasClass(ClassName$6_FADE)){var transitionDuration=Util.getTransitionDurationFromElement(tip);$(tip).one(Util.TRANSITION_END,complete).emulateTransitionEnd(transitionDuration)}else complete();this._hoverState=""}},_proto.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},_proto.isWithContent=function(){return Boolean(this.getTitle())},_proto.addAttachmentClass=function(attachment){$(this.getTipElement()).addClass("bs-tooltip-"+attachment)},_proto.getTipElement=function(){return this.tip=this.tip||$(this.config.template)[0],this.tip},_proto.setContent=function(){var tip=this.getTipElement();this.setElementContent($(tip.querySelectorAll(Selector$6_TOOLTIP_INNER)),this.getTitle()),$(tip).removeClass(ClassName$6_FADE+" "+ClassName$6_SHOW)},_proto.setElementContent=function($element,content){"object"!=typeof content||!content.nodeType&&!content.jquery?this.config.html?(this.config.sanitize&&(content=sanitizeHtml(content,this.config.whiteList,this.config.sanitizeFn)),$element.html(content)):$element.text(content):this.config.html?$(content).parent().is($element)||$element.empty().append(content):$element.text($(content).text())},_proto.getTitle=function(){var title=this.element.getAttribute("data-original-title");return title=title||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},_proto._getOffset=function(){var _this3=this,offset={};return"function"==typeof this.config.offset?offset.fn=function(data){return data.offsets=_objectSpread({},data.offsets,_this3.config.offset(data.offsets,_this3.element)||{}),data}:offset.offset=this.config.offset,offset},_proto._getContainer=function(){return!1===this.config.container?document.body:Util.isElement(this.config.container)?$(this.config.container):$(document).find(this.config.container)},_proto._getAttachment=function(placement){return AttachmentMap$1[placement.toUpperCase()]},_proto._setListeners=function(){var _this4=this;this.config.trigger.split(" ").forEach(function(trigger){if("click"===trigger)$(_this4.element).on(_this4.constructor.Event.CLICK,_this4.config.selector,function(event){return _this4.toggle(event)});else if(trigger!==Trigger_MANUAL){var eventIn=trigger===Trigger_HOVER?_this4.constructor.Event.MOUSEENTER:_this4.constructor.Event.FOCUSIN,eventOut=trigger===Trigger_HOVER?_this4.constructor.Event.MOUSELEAVE:_this4.constructor.Event.FOCUSOUT;$(_this4.element).on(eventIn,_this4.config.selector,function(event){return _this4._enter(event)}).on(eventOut,_this4.config.selector,function(event){return _this4._leave(event)})}}),$(this.element).closest(".modal").on("hide.bs.modal",function(){_this4.element&&_this4.hide()}),this.config.selector?this.config=_objectSpread({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},_proto._fixTitle=function(){var titleType=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==titleType||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},_proto._enter=function(event,context){var dataKey=this.constructor.DATA_KEY;(context=context||$(event.currentTarget).data(dataKey))||(context=new this.constructor(event.currentTarget,this._getDelegateConfig()),$(event.currentTarget).data(dataKey,context)),event&&(context._activeTrigger["focusin"===event.type?Trigger_FOCUS:Trigger_HOVER]=!0),$(context.getTipElement()).hasClass(ClassName$6_SHOW)||context._hoverState===HoverState_SHOW?context._hoverState=HoverState_SHOW:(clearTimeout(context._timeout),context._hoverState=HoverState_SHOW,context.config.delay&&context.config.delay.show?context._timeout=setTimeout(function(){context._hoverState===HoverState_SHOW&&context.show()},context.config.delay.show):context.show())},_proto._leave=function(event,context){var dataKey=this.constructor.DATA_KEY;(context=context||$(event.currentTarget).data(dataKey))||(context=new this.constructor(event.currentTarget,this._getDelegateConfig()),$(event.currentTarget).data(dataKey,context)),event&&(context._activeTrigger["focusout"===event.type?Trigger_FOCUS:Trigger_HOVER]=!1),context._isWithActiveTrigger()||(clearTimeout(context._timeout),context._hoverState=HoverState_OUT,context.config.delay&&context.config.delay.hide?context._timeout=setTimeout(function(){context._hoverState===HoverState_OUT&&context.hide()},context.config.delay.hide):context.hide())},_proto._isWithActiveTrigger=function(){for(var trigger in this._activeTrigger)if(this._activeTrigger[trigger])return!0;return!1},_proto._getConfig=function(config){var dataAttributes=$(this.element).data();return Object.keys(dataAttributes).forEach(function(dataAttr){-1!==DISALLOWED_ATTRIBUTES.indexOf(dataAttr)&&delete dataAttributes[dataAttr]}),"number"==typeof(config=_objectSpread({},this.constructor.Default,dataAttributes,"object"==typeof config&&config?config:{})).delay&&(config.delay={show:config.delay,hide:config.delay}),"number"==typeof config.title&&(config.title=config.title.toString()),"number"==typeof config.content&&(config.content=config.content.toString()),Util.typeCheckConfig(NAME$6,config,this.constructor.DefaultType),config.sanitize&&(config.template=sanitizeHtml(config.template,config.whiteList,config.sanitizeFn)),config},_proto._getDelegateConfig=function(){var config={};if(this.config)for(var key in this.config)this.constructor.Default[key]!==this.config[key]&&(config[key]=this.config[key]);return config},_proto._cleanTipClass=function(){var $tip=$(this.getTipElement()),tabClass=$tip.attr("class").match(BSCLS_PREFIX_REGEX);null!==tabClass&&tabClass.length&&$tip.removeClass(tabClass.join(""))},_proto._handlePopperPlacementChange=function(popperData){var popperInstance=popperData.instance;this.tip=popperInstance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(popperData.placement))},_proto._fixTransition=function(){var tip=this.getTipElement(),initConfigAnimation=this.config.animation;null===tip.getAttribute("x-placement")&&($(tip).removeClass(ClassName$6_FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=initConfigAnimation)},Tooltip._jQueryInterface=function(config){return this.each(function(){var data=$(this).data("bs.tooltip"),_config="object"==typeof config&&config;if((data||!/dispose|hide/.test(config))&&(data||(data=new Tooltip(this,_config),$(this).data("bs.tooltip",data)),"string"==typeof config)){if(void 0===data[config])throw new TypeError('No method named "'+config+'"');data[config]()}})},_createClass(Tooltip,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Default$4}},{key:"NAME",get:function(){return NAME$6}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Event$6}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return DefaultType$4}}]),Tooltip}();$.fn.tooltip=Tooltip._jQueryInterface,$.fn.tooltip.Constructor=Tooltip,$.fn.tooltip.noConflict=function(){return $.fn.tooltip=JQUERY_NO_CONFLICT$6,Tooltip._jQueryInterface};var NAME$7="popover",JQUERY_NO_CONFLICT$7=$.fn.popover,BSCLS_PREFIX_REGEX$1=new RegExp("(^|\\s)bs-popover\\S+","g"),Default$5=_objectSpread({},Tooltip.Default,{placement:"right",trigger:"click",content:"",template:''}),DefaultType$5=_objectSpread({},Tooltip.DefaultType,{content:"(string|element|function)"}),ClassName$7_FADE="fade",ClassName$7_SHOW="show",Selector$7_TITLE=".popover-header",Selector$7_CONTENT=".popover-body",Event$7={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Popover=function(_Tooltip){var subClass,superClass;function Popover(){return _Tooltip.apply(this,arguments)||this}superClass=_Tooltip,(subClass=Popover).prototype=Object.create(superClass.prototype),(subClass.prototype.constructor=subClass).__proto__=superClass;var _proto=Popover.prototype;return _proto.isWithContent=function(){return this.getTitle()||this._getContent()},_proto.addAttachmentClass=function(attachment){$(this.getTipElement()).addClass("bs-popover-"+attachment)},_proto.getTipElement=function(){return this.tip=this.tip||$(this.config.template)[0],this.tip},_proto.setContent=function(){var $tip=$(this.getTipElement());this.setElementContent($tip.find(Selector$7_TITLE),this.getTitle());var content=this._getContent();"function"==typeof content&&(content=content.call(this.element)),this.setElementContent($tip.find(Selector$7_CONTENT),content),$tip.removeClass(ClassName$7_FADE+" "+ClassName$7_SHOW)},_proto._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},_proto._cleanTipClass=function(){var $tip=$(this.getTipElement()),tabClass=$tip.attr("class").match(BSCLS_PREFIX_REGEX$1);null!==tabClass&&0=this._offsets[i]&&(void 0===this._offsets[i+1]||scrollTop");void 0!==settings.myClass&&$stacktable.addClass(settings.myClass);var $caption,$topRow,bodyMarkup,tr_class,markup="";$table.addClass("stacktable large-only"),$caption=$table.find(">caption").clone(),$topRow=$table.find(">thead>tr,>tbody>tr,>tfoot>tr,>tr").eq(0),$table.siblings().filter(".small-only").remove(),$table.find(">tbody>tr").each(function(){bodyMarkup="",tr_class=$(this).prop("class"),$(this).find(">td,>th").each(function(cellIndex){""!==$(this).html()&&(bodyMarkup+='',$topRow.find(">td,>th").eq(cellIndex).html()?bodyMarkup+=''+$topRow.find(">td,>th").eq(cellIndex).html()+"":bodyMarkup+='',bodyMarkup+=''+$(this).html()+"",bodyMarkup+="")}),markup+=''+bodyMarkup+"
"}),$table.find(">tfoot>tr>td").each(function(rowIndex,value){""!==$.trim($(value).text())&&(markup+='
'+$(value).html()+"
")}),$stacktable.prepend($caption),$stacktable.append($(markup)),$table.before($stacktable)}})},$.fn.stacktable=function(options){var headIndex,settings=$.extend({},{headIndex:0,displayHeader:!0},options);return headIndex=options&&options.headIndex?options.headIndex:0,this.each(function(){var table_css=$(this).prop("class"),$stacktable=$('
');void 0!==settings.myClass&&$stacktable.addClass(settings.myClass);var $table,$caption,$topRow,headMarkup,bodyMarkup,tr_class,displayHeader,markup="";($table=$(this)).addClass("stacktable large-only"),$caption=$table.find(">caption").clone(),$topRow=$table.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0),displayHeader=void 0===$table.data("display-header")?settings.displayHeader:$table.data("display-header"),$table.find(">tbody>tr, >thead>tr").each(function(rowIndex){bodyMarkup=headMarkup="",tr_class=$(this).prop("class"),0===rowIndex?displayHeader&&(markup+=''+$(this).find(">th,>td").eq(headIndex).html()+""):($(this).find(">td,>th").each(function(cellIndex){cellIndex===headIndex?headMarkup=''+$(this).html()+"":""!==$(this).html()&&(bodyMarkup+='',$topRow.find(">td,>th").eq(cellIndex).html()?bodyMarkup+=''+$topRow.find(">td,>th").eq(cellIndex).html()+"":bodyMarkup+='',bodyMarkup+=''+$(this).html()+"",bodyMarkup+="")}),markup+=headMarkup+bodyMarkup)}),$stacktable.prepend($caption),$stacktable.append($(markup)),$table.before($stacktable)})},$.fn.stackcolumns=function(options){var settings=$.extend({},{},options);return this.each(function(){var $table=$(this),$caption=$table.find(">caption").clone(),num_cols=$table.find(">thead>tr,>tbody>tr,>tfoot>tr").eq(0).find(">td,>th").length;if(!(num_cols<3)){var $stackcolumns=$('
');void 0!==settings.myClass&&$stackcolumns.addClass(settings.myClass),$table.addClass("stacktable large-only");for(var tb=$(""),col_i=1;col_ithead>tr,>tbody>tr,>tfoot>tr").each(function(index){var tem=$("");0===index&&tem.addClass("st-head-row st-head-row-main");var first=$(this).find(">td,>th").eq(0).clone().addClass("st-key"),target=col_i;if($(this).find("*[colspan]").length){var i=0;$(this).find(">td,>th").each(function(){var cs=$(this).attr("colspan");if(cs?(cs=parseInt(cs,10),target-=cs-1,col_itd,>th").eq(target).clone().addClass("st-val").removeAttr("colspan");tem.append(first,second),tb.append(tem)}),++col_i;$stackcolumns.append($(tb)),$stackcolumns.prepend($caption),$table.before($stackcolumns)}})},$("table.bc-responsive-table").stacktable()}(jQuery),document.addEventListener("DOMContentLoaded",function(){var tableOfContent;(tableOfContent={elements:{tocItemsContent:document.querySelectorAll("#main #core-table-of-content").length?document.getElementById("main").querySelectorAll("#core-table-of-content .list-group-item a"):"",tocItemsRightWidget:document.querySelectorAll("#right-sidebar #core-table-of-content").length?document.getElementById("right-sidebar").querySelectorAll("#core-table-of-content .list-group-item"):"",tocItemsLeftWidget:document.querySelectorAll("#left-sidebar #core-table-of-content").length?document.getElementById("left-sidebar").querySelectorAll("#core-table-of-content .list-group-item"):"",pageHeaders:document.getElementById("main").querySelectorAll("article h2, article h3, article h4, article h5, article h6")},data:{contentHeaders:[],limitedContentHeadersContent:[],limitedContentHeadersRightWidget:[],limitedContentHeadersLeftWidget:[]},init:function(){this.elements.tocItemsContent&&(this.returnTocItemsText(this.elements.tocItemsContent,this.data.limitedContentHeadersContent),this.setHeaderElementsIds(this.data.limitedContentHeadersContent)),this.elements.tocItemsRightWidget&&(this.returnTocItemsText(this.elements.tocItemsRightWidget,this.data.limitedContentHeadersRightWidget),this.setHeaderElementsIds(this.data.limitedContentHeadersRightWidget)),this.elements.tocItemsLeftWidget&&(this.returnTocItemsText(this.elements.tocItemsLeftWidget,this.data.limitedContentHeadersLeftWidget),this.setHeaderElementsIds(this.data.limitedContentHeadersLeftWidget))},getRaw:function(s){return s.replace(/[^*a-zA-Z0-9 ]/g,"").trim().toLowerCase()},createID:function(value){return value.split(" ").join("_").split("–").join("-").split("–").join("-")},multiToSingleSpace:function(s){return s.replace(/\s+/g," ")},setHeaderElementsIds:function($tocData){this.elements.pageHeaders.forEach(function(currentValue){$tocData.forEach(function(value){0===tableOfContent.multiToSingleSpace(tableOfContent.getRaw(value)).localeCompare(tableOfContent.multiToSingleSpace(tableOfContent.getRaw(currentValue.innerText)))&¤tValue.setAttribute("id",tableOfContent.createID(value))})})},returnTocItemsText:function($tocList,$tocData){return $tocList.forEach(function(item,index){$tocData[index]=item.innerText}),$tocData}},{callTableOfContent:function(){tableOfContent.init()}}).callTableOfContent()});